import turtle


def draw_pentagram(size):
    count = 1
    while count <= 5:
        turtle.forward(size)
        turtle.right(144)
        count += 1


def main():
    turtle.penup()
    turtle.backward(300)
    turtle.pendown()
    turtle.pensize(1)
    turtle.pencolor('red')
    size = 50
    while size <= 200:
        draw_pentagram(size)
        size += 20
    turtle.exitonclick()


if __name__ == '__main__':
    main()
